//
//  NSCompoundPredicateEnum.swift
//  Documentation
//
//  Created by Toj on 11/14/23.
//

import Foundation

extension NSCompoundPredicate {

    public enum LogicalType : UInt, @unchecked Sendable {
        // 给单个谓词表达式添加NOT, SELF CONTAINS 'string'变成NOT SELF CONTAINS 'string'
        case not = 0
        // 多个谓词表达式之间添加AND
        case and = 1
        // 多个谓词表达式之间添加OR
        case or = 2
    }
}
